import axios from "axios";
import {req} from "./axiosFun";

/**
 * 客户群行业管理
 */
export default {
  add : (params) => { return req("post", "/api/industries", params) },
  list : (params) => { return req("get", "/api/industries", params) },
  cascades : () => { return req("get", "/api/industries/cascades") },
  remove : (id) => { return req("delete", "/api/industries/{id}".replace('{id}',id)) },
  edit : (params) => { return req("patch", "/api/industries/{id}".replace('{id}',params.id), params) }
}
